[INFO] fetching crate error_defs 0.1.0...
[INFO] fixing error_defs-0.1.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate error_defs 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate error_defs 0.1.0
[INFO] finished tweaking crates.io crate error_defs 0.1.0
[INFO] tweaked toml for crates.io crate error_defs 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate error_defs 0.1.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `error_defs` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] be85046bfcbff35596482de834c488db24f629922ba36bdf2e8cd54db956e8a3
[INFO] running `Command { std: "docker" "start" "be85046bfcbff35596482de834c488db24f629922ba36bdf2e8cd54db956e8a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be85046bfcbff35596482de834c488db24f629922ba36bdf2e8cd54db956e8a3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be85046bfcbff35596482de834c488db24f629922ba36bdf2e8cd54db956e8a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be85046bfcbff35596482de834c488db24f629922ba36bdf2e8cd54db956e8a3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `error_defs` (manifest) generated 1 warning
[INFO] [stderr]     Checking error_defs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2015 edition to 2018
[INFO] [stderr]        Fixed src/lib.rs (5 fixes)
[INFO] [stderr]    Migrating examples/example.rs from 2015 edition to 2018
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] [stderr] crater-edition-check: error_defs v0.1.0 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr]     Checking error_defs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> examples/example.rs:34:55
[INFO] [stdout]    |
[INFO] [stdout] 34 |         println!("error::Error::description => {}", e.description());
[INFO] [stdout]    |                                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> examples/example.rs:35:57
[INFO] [stdout]    |
[INFO] [stdout] 35 |         println!("error: Error::cause       => {:?}", e.cause());
[INFO] [stdout]    |                                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.85s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr]     Checking error_defs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/example.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.24s
[INFO] [stderr] crater-edition-check: error_defs v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking error_defs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> examples/example.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / error_defs! {
[INFO] [stdout]  8 | |     error Example<T, U: Error> {
[INFO] [stdout]  9 | |         VariantA
[INFO] [stdout] 10 | |             => "short description",
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `error_defs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> examples/example.rs:34:55
[INFO] [stdout]    |
[INFO] [stdout] 34 |         println!("error::Error::description => {}", e.description());
[INFO] [stdout]    |                                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> examples/example.rs:35:57
[INFO] [stdout]    |
[INFO] [stdout] 35 |         println!("error: Error::cause       => {:?}", e.cause());
[INFO] [stdout]    |                                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0782`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `error_defs` (example "example") due to 1 previous error; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "be85046bfcbff35596482de834c488db24f629922ba36bdf2e8cd54db956e8a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be85046bfcbff35596482de834c488db24f629922ba36bdf2e8cd54db956e8a3", kill_on_drop: false }`
[INFO] [stdout] be85046bfcbff35596482de834c488db24f629922ba36bdf2e8cd54db956e8a3
